package me.zhengjie.minbearwcs.dao.stock.inf;

import me.zhengjie.minbearwcs.entity.PO.wcs.stock.Pallet;

import java.time.LocalDateTime;

public interface PalletDao {
    boolean insert(Pallet pallet);

    boolean updateBatchCodeAndInboundDate(String palletCode,String batchCode, LocalDateTime inboundDate);

    String selectMaterialCode(String palletCode);

    boolean deleteByPalletCode(String palletCode);

    Pallet selectByPalletCode(String palletCode);

    boolean updateMaterialNumByPalletCode(String palletCode,Integer materialNum);
}
